-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save cookie banner cookie across subdomains #98332
base: trunk
Are you sure you want to change the base?
Conversation
…bdomains too. This is inline with how a8c-analytics plugin does it in on the server. This enables the same cookie to be read by both systems when the user visits wp-admin after having the cookie set by a Calypso UI.
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
I wonder if there should be some condition around the name of the domain and around setting it. There are calypso instances running in other domains, that's for sure. |
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~4 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
That's not my local calypso URL for development. To avoid ambiguity could you link to docs on how you recommend doing this? 🙏
Would it be possible for you to be specific about the "config" are you referring to here?
What is "hosting options"? Without diving deep into the Issue what is the problem being solved here? I think it's that we don't want the cookie banner to show up again when we move from Calypso to WPAdmin URLs. Am I right? It would be super helpful to have a little more context to aid in testing outside of the specific scenario outlined here 🙏 |
Fixes ##94071
Proposed Changes
setTrackingPrefs
util so that cookies are also applying to subdomains of that domainWhy are these changes being made?
setTrackingPrefs
omitted to set any domain and this resulted in only the current domain being set for the cookie.Testing Instructions
Pre-merge Checklist